#include<mjl.h>
void normal_fight()
{
	char* hero = mjl_getMainHero();
	mjl_say(hero,"废话少说，看招！");
	mjl_fight("hu_deng_shou,hu_jian_shen,hu_deng_shou", true);
	mjl_destroy("hh");
	mjl_say(hero,"这护剑神果然厉害，差点我就打不过了。");
	mjl_msg("获得：无极乾坤剑",1.2f);
	mjl_setVisible("jian", false);
	mjl_isItemGet("wu_ji_qian_kun_jian", true);
	mjl_wait(1.2f);
	mjl_say(hero,"好剑！");
	mjl_say(hero,"感觉好像有点不对...什么声音？？");
	mjl_playSpe("t","di_dong_shan_yao", "pos_2", false, false);
	mjl_wait(1.2f);
	mjl_loadMap("map/sqg_fu_mo_dong_kou/0.map");
	mjl_setVisible("shi_tou", false);
	mjl_setPos(hero, "enter_fmd");
	mjl_turn(hero, TURN_LEFT);
	mjl_say(hero,"手好痛哦。还好跑得快，不然准连命都丢了...");
	mjl_setVisible("shi_tou", true);
	mjl_say(hero,"哇，又塌了，太恐怖了，回去见师傅。");
	mjl_isFlagGet("fu_mo_jian_mission_over", true);
	mjl_clearTextureCache();
}
void main()
{
	int s = 0;
	char* hero = mjl_getMainHero();
	mjl_setPos(hero, "pos_1");
	mjl_turn(hero, TURN_BACK);
	mjl_say(hero,"果然是好剑！可以跟师傅复命下山了。");
	mjl_showTex("tex/game/hu_jian_shen.png", "hh", "pos_0", -1);
	mjl_say("", "护剑神：谁人如此大胆，竟敢触动伏魔宝剑？");
	mjl_say(hero,"差点忘了，还有护剑神。");
	mjl_say("", "护剑神：你是谁？");
	if (mjl_getPlayOverCount(mjl_getDifficultID())>0)
	{
		s = mjl_select("解释,不解释", false);
		if (s == 0)
		{
			mjl_say(hero,"我是柳清风，师傅让我来取伏魔剑，你又是谁？");
			mjl_say("", "护剑神：我乃护剑神，守护封印。此地乃封印群魔之地，你若取走宝剑，封印就会破坏，群魔将荼毒天下，你师傅想做什么？！");
			mjl_say(hero,"怎么会？！！");
			mjl_say("", "护剑神：依我看，你师傅心怀鬼胎，你回去好生询问他，究竟为何要取剑。");
			mjl_isFlagGet("fmd_hu_jian_shen_jie_shi", true);
		}
		else
		{
			normal_fight();
		}

	}
	else
	{
		normal_fight();
	}
}
